package com.my.dto;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import lombok.Data;

import java.io.Serializable;
import java.util.Set;

@Data
@JacksonXmlRootElement(localName = "xml")
public class WecomReceiveMsgDTO implements Serializable {

    /**
     * 接收人
     */
    @JacksonXmlProperty(localName = "ToUserName")
    private String toUserName;

    /**
     * 密钥
     */
    @JacksonXmlProperty(localName = "Encrypt")
    private String encrypt;

    /**
     * 应用id
     */
    @JacksonXmlProperty(localName = "AgentID")
    private String agentId;

}
